<?php
  require_once('tpl/header.php');
?>
<?php 
 connect();
 $tid=$_GET["tid"];
 $sql="select * from videotype where tid=$tid";
 $result=mysql_query($sql);
 $row=mysql_fetch_assoc($result);
 ?>
 <form class="form-inline" method="post" action="doTypeUpdate.php">
 	<input type="hidden" name="tid" value="<?php echo $row["tid"];  ?> ">
  <div class="form-group">
    <label for="exampleInputName2">视频类别名称</label>
    <input type="text" class="form-control" id="exampleInputName2" placeholder="视频类别名称" name="typename" value="<?php echo $row["typename"]; ?> 	">
  </div>
 
 <input type="submit" value="更新" class="btn btn-default">
  
</form>
   


<?php
  require_once('tpl/footer.php');
?>